package cn.iocoder.yudao.module.system.controller.admin.gugu.gugu;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 高校基础信息API响应包装类
 * 适应新的API返回值结构
 */
@Schema(description = "高校基础信息API响应")
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class CollegeApiResponse {

    @JsonProperty("DataStatus")
    private DataStatus dataStatus;

    @JsonProperty("Data")
    private List<CollegeInfo> data;

    /**
     * 数据状态信息
     */
    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class DataStatus {
        
        @JsonProperty("StatusCode")
        private Integer statusCode;

        @JsonProperty("StatusDescription")
        private String statusDescription;

        @JsonProperty("ResponseDateTime")
        private String responseDateTime;

        @JsonProperty("DataTotalCount")
        private Integer dataTotalCount;
    }
}